﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowTool
{
    public class BossA : WorkflowBase
    {
        public override string? Name { get; set; }
        public override void VAction(IWorflowContext context, Action next)
        {
            var c = (WorflowContext<object>)context;
            BossX bossX = new BossX();
            bossX.Name = "X";
            BossC bossC = new BossC();
            bossC.Name = "C";
            bossC.Next(bossX);
            Console.WriteLine("A审核");
            //next.Invoke(); 
            JumpNext(bossC, next);
        }
    }
}
